package com.bxj.wxtt.spider;

import org.springframework.context.ApplicationContext;
import us.codecraft.webmagic.processor.PageProcessor;

/**
 * Created by baixiujiang on 18/7/18.
 */
public interface ChannelPageProcessor extends PageProcessor {
    /**
     * 设置来源站点
     * @param name
     */
    void setSiteName(String name);

    /**
     * 设置频道
     * @param channelId
     */
    void setChannelId(Integer channelId);

    /**
     * 设置上下文
     */
    void setContext(ApplicationContext applicationContext);
}
